/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.cx1.model.utils;

import java.util.ArrayList;
import java.util.List;
import org.cx1.model.Listing;
import org.cx1.model.Place;

/**
 *
 * @author ECH
 */
public class SearchResult {
    
    private List<Listing> listings;
    private List<Place> places;
    private List<PlaceMarker> placeMarkers = new ArrayList<PlaceMarker>();
    
    private int totalListings;
    private boolean hasNext;
    private boolean hasPrev;
    
    public List<Listing> getListings() {
        return listings;
    }

    public void setListings(List<Listing> listings) {
        this.listings = listings;
    }

    public int getTotalListings() {
        return totalListings;
    }

    public void setTotalListings(int totalListings) {
        this.totalListings = totalListings;
    }

    public boolean isHasNext() {
        return hasNext;
    }

    public void setHasNext(boolean hasNext) {
        this.hasNext = hasNext;
    }

    public boolean isHasPrev() {
        return hasPrev;
    }

    public void setHasPrev(boolean hasPrev) {
        this.hasPrev = hasPrev;
    }

    public List<Place> getPlaces() {
        return places;
    }

    public void setPlaces(List<Place> places) {
        this.places = places;
    }

    public List<PlaceMarker> getPlaceMarkers() {
        return placeMarkers;
    }

    public void setPlaceMarkers(List<PlaceMarker> placeMarkers) {
        this.placeMarkers = placeMarkers;
    }
    
}
